package com.sjzxywlkj.cplife.alipay.request.entity;

import java.util.Set;

import com.alibaba.fastjson.JSON;


/**
 * 上传物业小区内部房屋信息请求参数
 * url:https://docs.open.alipay.com/api_20/alipay.eco.cplife.roominfo.upload/
 */
public class RoominfoUpload {

	//请求批次号，由商户自定义，在商户系统内唯一标示一次业务请求。
	private String batch_id;

	//业主所在物业小区ID(支付宝平台唯一小区ID标示)
	private String community_id;
	
	//待上传的房屋信息列表，单次上传不超过200条.
	private Set<Room> room_info_set = null;

	public String toJson(){
		return JSON.toJSONString(this);
	}

	public RoominfoUpload() {
		super();
	}


	public RoominfoUpload(String batch_id, String community_id, Set<Room> room_info_set) {
		super();
		this.batch_id = batch_id;
		this.community_id = community_id;
		this.room_info_set = room_info_set;
	}


	public String getBatch_id() {
		return batch_id;
	}


	public void setBatch_id(String batch_id) {
		this.batch_id = batch_id;
	}


	public String getCommunity_id() {
		return community_id;
	}


	public void setCommunity_id(String community_id) {
		this.community_id = community_id;
	}


	public Set<Room> getRoom_info_set() {
		return room_info_set;
	}


	public void setRoom_info_set(Set<Room> room_info_set) {
		this.room_info_set = room_info_set;
	}
	
}
